package edu.java.lectures.lec13.hw;

public abstract class Person implements Comparable<Person> {

    public String getName() {
	return null;
    }
    // getAge(){}

    // equals(){}
    // toString(){}
}

class PersonByName extends Person {

    @Override
    public int compareTo(Person o) {
	// use getName()
	return 0;
    }
}

class TestPersonSorting {
    public static Person[] sortsPersonsArrayByName() {
	Person[] personsArr = new PersonByName[15];
	personsArr[0] = new PersonByName();

	// do bubblesort over personsArr

	return personsArr;
    }
}